/**
 * 此文件为菜单配置，暂时由前端维护
 */
const adminMenuConfig = {
  menuMode: 'horizontal',
  menuData: [
    {
      name: '字典管理',
      iconClassName: 'control',
      path: 'admin/dict/dict'
    },
    {
      name: '节假日管理',
      iconClassName: 'coffee',
      path: 'admin/dict/holiday'
    },
    {
      name: '用户中心',
      iconClassName: 'team',
      path: 'admin/user',
      children: [
        {
          name: '行政区划管理',
          iconClassName: 'gsd-icon-nav-datacenter-line',
          path: 'admin/user/district'
        },
        {
          name: '机构管理',
          iconClassName: 'gsd-icon-nav-dashboard',
          path: 'admin/user/organization'
        },
        {
          name: '岗位管理',
          iconClassName: 'gsd-icon-nav-item',
          path: 'admin/user/department'
        },
        {
          name: '用户管理',
          iconClassName: 'gsd-icon-nav-licence',
          path: 'admin/user/user-manager'
        }
        // {
        //   name: '机构分类管理',
        //   iconClassName: 'gsd-icon-nav-census',
        //   path: 'admin/user/org-type-manager'
        // },
        // {
        //   name: '用户审核管理',
        //   iconClassName: 'gsd-icon-nav-licence',
        //   path: 'admin/user/audit-user'
        // },
        // {
        //   name: '扩展字段管理',
        //   iconClassName: 'gsd-icon-nav-census',
        //   path: 'admin/user/extended-field'
        // },
        // {
        //   name: '系统管理',
        //   path: 'admin/user/system-manager',
        //   iconClassName: 'gsd-icon-line-edit-Refresh',
        //   children: [
        //     {
        //       name: '数据同步',
        //       path: 'admin/user/system-manager/sync-data'
        //     },
        //     {
        //       name: '用户同步',
        //       path: 'admin/user/system-manager/sync-data'
        //     }
        //   ]
        // },
        // {
        //   name: '年度管理',
        //   iconClassName: 'gsd-icon-line-Universal-date',
        //   path: 'admin/user/annual-manager'
        // }
      ]
    },
    // {
    //   name: '权限中心',
    //   iconClassName: 'appstore',
    //   path: '/citycode_m/govrbac/',
    //   // path: 'admin/permission',
    //   target: '_blank'
    // },
    {
      name: '用户中心',
      iconClassName: 'appstore',
      path: '/citycode_m/uum/',
      // path: 'admin/permission',
      target: '_blank'
    },
    // {
    //   name: '权限中心',
    //   iconClassName: 'appstore',
    //   path: 'admin/permission'
    // },
    {
      name: '应用中心',
      iconClassName: 'appstore',
      path: 'admin/application'
    } /*,
    {
      name: '消息中心',
      iconClassName: 'message',
      path: 'admin/message'
    },
    {
      name: '日志中心',
      iconClassName: 'book',
      path: 'admin/log'
    },
    {
      name: '门户配置',
      iconClassName: 'tool',
      path: 'admin/config'
    } */
  ]
}
export default {
  '/chart': {
    menuMode: 'interrelation',
    menuData: [
      {
        name: '首页',
        iconClassName: 'appstore',
        path: 'chart'
      },
      {
        name: '我的工作台',
        iconClassName: 'appstore',
        path: 'chart/workbench',
        children: [
          {
            name: '我的项目',
            path: 'chart/workbench/project'
          },
          {
            name: '我的任务',
            path: 'chart/workbench/task'
          },
          /* {
            name: '我的消息',
            path: 'chart/workbench/tidings'
          }, */
          {
            name: '我的督办',
            path: 'chart/workbench/supervise'
          }
        ]
      },
      {
        name: '全局视图',
        iconClassName: 'appstore',
        path: 'chart/globalview',
        children: [
          {
            name: '项目视图',
            path: 'chart/globalview/project'
          },
          {
            name: '部门视图',
            path: 'chart/globalview/department'
          },
          {
            name: '领导视图',
            path: 'chart/globalview/leader'
          }
        ]
      }
    ]
  },
  '/resource': {
    menuMode: 'interrelation',
    menuData: [
      {
        name: '资源管理',
        iconClassName: 'gsd-icon-line-chart-Histogram',
        path: 'resource',
        children: [
          {
            name: '救援力量',
            iconClassName: 'gsd-icon-line-chart-Histogram',
            path: 'resource/emergency',
            children: [
              {
                name: '应急队伍',
                path: 'resource/emergency/emergency-team'
              },
              {
                name: '应急专家',
                path: 'resource/emergency/emergency-expert'
              }
            ]
          },
          {
            name: '物资调配',
            iconClassName: 'gsd-icon-line-chart-Histogram',
            path: 'resource/material',
            children: [
              {
                name: '仓库管理',
                path: 'resource/material/warehouse'
              },
              {
                name: '品名管理',
                path: 'resource/material/produce'
              },
              {
                name: '库存管理',
                path: 'resource/material/stock'
              }
            ]
          },
          {
            name: '避难场所',
            iconClassName: 'gsd-icon-line-chart-Histogram',
            path: 'resource/refuge'
          },
          {
            name: '风险隐患',
            iconClassName: 'gsd-icon-line-chart-Histogram',
            path: 'resource/hidden-danger'
          },
          {
            name: '医疗卫生资源',
            iconClassName: 'gsd-icon-line-chart-Histogram',
            path: 'resource/medical-resources'
          },
          {
            name: '重点防护',
            iconClassName: 'gsd-icon-line-chart-Histogram',
            path: 'resource/protect'
          }
        ]
      }
    ]
  },
  '/my': {
    menuMode: 'interrelation',
    menuData: [
      {
        name: '个人中心',
        iconClassName: 'user',
        path: 'my/center',
        children: [
          {
            name: '我的消息',
            path: 'my/center/message'
          },
          {
            name: '个人信息',
            path: 'my/center/info'
          }
        ]
      }
    ]
  },
  '/admin/dict': adminMenuConfig,
  '/admin/user': adminMenuConfig,
  '/admin/permission/': adminMenuConfig,
  '/admin/application': adminMenuConfig,
  '/admin/message': adminMenuConfig,
  '/admin/log': adminMenuConfig,
  '/admin/config': adminMenuConfig
}
